package com.skyjoo.search.lucene.index.event;

import org.apache.lucene.store.Directory;


public class DirectoryChangedEvent extends IndexEvent {

    /**
     * 
     */
    private static final long serialVersionUID = -8252863195255860098L;

    public DirectoryChangedEvent(Directory directory) {
        super(directory);
    }
    
    public Directory getDirectory() {
        return (Directory) getSource();
    }

}
